#ifndef POKERSLEUTH_H
#define POKERSLEUTH_H

#ifdef __cplusplus
extern "C" {
#endif

struct parse_error
{
        int player; /* -1 for board */
        int cols[2];
        char msg[256];
};

int compute_equity(int no_players, const char **str_ranges,
                   const char *str_board, double *equity_out,
                   struct parse_error *parse_errors);

#ifdef __cplusplus
}
#endif

#endif